package com.julis.thread;


import android.os.Handler;

import com.julis.activity.log.FtpUtils;


/**
 * Created by juli on 2020/4/30.
 */

public class FileThread extends Thread {
    FtpUtils ftpUtils;
    Handler handler;
    String imei;String name;String path;
    public FileThread(FtpUtils ftpUtils, String imei, String name, String path, Handler handler){
         this. handler=handler;
        this. imei=imei;
        this. name=name;
        this. path=path;
        this. ftpUtils=ftpUtils;
    }


    @Override
    public void run() {
        super.run();
        ftpUtils.uploadFile("/appLogs/"+imei,name,path,handler	);
    }
}
